from django.db import models

class Category( models.Model ):
    title = models.CharField( max_length = 250 )
    slug = models.SlugField( unique = True )
    description = models.TextField()

    def __unicode__( self ):
        return self.title

class Entry(models.Model):
    LIVE_STATUS = 1
    DRAFT_STATUS = 2
    STATUS_CHOICES = (
        (LIVE_STATUS, 'Live'),
        (DRAFT_STATUS, 'Draft'),
    )